﻿@model STX.Admin.Models.BizSupplier.EditModel
@{
    ViewBag.Title = "Edit";
    Layout = null;
    var i = 0;
}
<form class="pageForm addpage" action="@Url.Action("saveedit")" method="post">
   
    <input type="hidden" value="@Model.Id" name="Id" />

    <div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
        <div class="pageFormContent" ratio="*">
           
            <table style="width:100%">
                <tr>
                    <td width="15%">地方：</td>
                    <td width="85%" colspan="3">@Html.XDropDownList("AreaId", Model.AreaSelectList) （修改地方后请重新绑定物料）</td>
                </tr>
                <tr>
                    <td width="15%"> 供应商名称：</td>
                    <td width="35%"> <input type="text" value="@Model.Name" size="30" name="Name" class="textInput" /></td>
                    <td width="15%">联系人：</td>
                    <td width="35%"><input name="Contacter" class="textInput" type="text" size="30" value="@Model.Contacter" alt=""/></td>
                </tr>
                <tr>
                    <td>电话：</td>
                    <td><input name="Tel" class="textInput" type="text" size="30" value="@Model.Tel" alt=""/></td>
                    <td>Email：</td>
                    <td><input name="EMail" class="textInput" type="text" size="30" value="@Model.EMail" alt=""/></td>
                </tr>
                <tr>
                    <td>是否审核：</td>
                    <td  colspan="3">@(Html.DropDownListFromEnum<STX.Domain.BizSupplier.SupplierAuditingEnum>((int)Model.Auditing,"Auditing"))</td>
                </tr>
            </table>
        </div>

        <div class="formBar" ratio="#30">
            <ul>
                <div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div>
            </ul>
        </div>
    </div>
</form>